import request from '../utils/request';
import { getUrl } from './config';

export async function query() {
  return request('/api/users');
}

export async function queryCurrent() {
  return request(getUrl('/current_user'));
}
